From: Keir Fraser Date: Wed, 24 Feb 2010 10:58:03 +0000 (+0000) Subject: sched_credit: Reduce is_urgent flag check to a WARN_ON. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12569 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=a2fa1e23d076c59ac417bd36a06fa832a2327188;p=xen.git sched_credit: Reduce is_urgent flag check to a WARN_ON. Signed-off-by: Keir Fraser --- diff --git a/xen/common/sched_credit.c b/xen/common/sched_credit.c index 914022ebb9..bb85b94315 100644 --- a/xen/common/sched_credit.c +++ b/xen/common/sched_credit.c @@ -1060,7 +1060,7 @@ csched_runq_steal(int peer_cpu, int cpu, int pri) /* We got a candidate. Grab it! */ CSCHED_VCPU_STAT_CRANK(speer, migrate_q); CSCHED_STAT_CRANK(migrate_queued); - BUG_ON(vc->is_urgent); + WARN_ON(vc->is_urgent); __runq_remove(speer); vc->processor = cpu; return speer;